<!-- 导航条
================================================== -->







<div class="nav-top">
    <div class="nav-container">
        <div class="logo-11 pull-left"></div>
    <ul class="menu">
        <li><a href="{:U('house/Index/index')}" <eq name="tab" value="zufang"> class="meanss"</eq>>租房</a></li>
        <li><a href="{:U('house/Index/qiuzu')}" <eq name="tab" value="qiuzu"> class="meanss"</eq>>求租</a></li>
       <!--<li><a href="{:U('house/Index/zixun')}" <eq name="tab" value="zixun"> class="meanss"</eq>>资讯</a></li>-->
    </ul>
        <div class="search-box pull-left">
            <form class="navbar-form navbar-left" role="search" method="post" action="<eq name="tab" value="qiuzu">{:U('House/Index/qiuzu')}<else/>{:U('House/Index/index')}</eq> ">
                <div class="form-group">
                    <input type="text" class="form-control" name="search" placeholder="输入小区名字或关键词" value="{$search}">
                </div>
                <button type="submit" class="btn btn-default">搜索</button>
            </form>
            </div>
        <div style=" width:210px;float: left;margin-left: 40px;">

        <div id="Cx" class="pull-left btn-style">
            <a href="{:U('house/Index/re_chuzu')}">我要出租</a>
        </div>
            <div id="Qx" class="pull-left btn-style">
            <a href="{:U('house/Index/re_qiuzu')}">我要求租</a>
        </div>
        </div>
        <div class="pull-right nav-user">
            <if condition="is_login()">
                <ul class="meau" style="width: 80px;height: 70px;margin-bottom: 0px;">
                    <li class="dropdown" style="height: 70px;line-height:40px;">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" style="line-height: 70px"><span>{:get_username()}</span> <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="{:U('UserCenter/Index/index')}"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;个人中心</a></li>
                            <li><a href="{:U('UserCenter/Index/changepassword')}"><span class="glyphicon glyphicon-lock"></span>&nbsp;&nbsp;修改密码</a></li>
                            <if condition="is_administrator()">
                                <li><a href="{:U('Admin/Index/index')}" target="_blank"><span
                                        class="glyphicon glyphicon-dashboard"></span>&nbsp;&nbsp;管理后台</a></li>
                            </if>
                            <li event-node="logout"><a href="{:U('Home/User/logout')}"><span class="glyphicon glyphicon-off"></span>&nbsp;&nbsp;退出</a></li>
                        </ul>
                    </li>
                </ul>
                <else/>
                <ul class="menu">
                    <li>
                        <a href="{:U('Home/User/login')}">登录</a>
                    </li>
                    <li>
                        <a href="{:U('Home/User/register')}">注册</a>
                    </li>
                </ul>
            </if>
        </div>
    </div>
</div>




